
#ifndef YQInterfaceDocument_h
#define YQInterfaceDocument_h

//#define kApphttp @"http://644uiw.natappfree.cc/yiqi-api"//建波本地

//母婴手机pc类域名
//#define kApphttp @"http://www.bestbox.io/api"
//母婴家纺类域名
#define kApphttp @"http://47.75.187.115/best"

//版本更新url
#define kGET_SLIDESHOW_VERSION_URL @"/api/slideshow/version"
//关于我们url
#define kGET_SLIDESHOW_ABOUT_US_URL @"/api/slideshow/about/us"

#pragma mark - 用户注册登录管理
//短信发送验证码 国内
#define kGET_CODE_SMS_URL @"/api/sms"
//短信发送验证码 国外
#define kGET_CODE_SMS_international_URL @"/api/sms/international"

//邮箱发送验证码
#define kGET_EMAIL_SEND_URL @"/api/send/mail"
//手机号验证码校验
#define kPOST_PHONECODE_CHECK_URL @"/api/verify/phone/code"
//认证邮箱是否可以注册
#define kPOST_verify_EMAIL_REGIEST_URL @"/api/verify/email/register"
//邮箱验证码校验
#define kPOST_EMAILCODE_CHECK_URL @"/api/verify/email/code"
//手机号注册
#define kPOST_PHONE_REGIEST_URL @"/api/verify/phone"
//邮箱注册
#define kPOST_EMAIL_REGIEST_URL @"/api/register/email"
//设置密码
#define kPOST_SAVE_PASSWORD_URL  @"/api/save/password"
//退出登录
#define kPOST_LOGOUT_URL  @"/api/logout"
//邮箱账号密码登录
#define kPOST_EMAIL_LOGIN_URL @"/api/login"
#pragma mark - 用户管理
//添加关注
#define kPOST_ADD_FOLLOW_URL @"/api/user/add/follow/"
//绑定邮箱
#define kPOST_BIND_EMAIL_URL @"/api/user/bind/email"
//绑定手机号
#define kPOST_BIND_PHONE_URL @"/api/user/bind/phone"
//完善个人资料
#define kPOST_COMPLETEINFORMATION_URL @"/api/user/complete/information"
//查询用户的粉丝列表
#define kPOST_FANS_LIST_URL     @"/api/user/fans/list"
//查询用户的关注列表
#define kPOST_FOLLOW_LIST_URL   @"/api/user/follow/list"
//我的页面接口
#define kPOST_PROFILE_URL       @"/api/user/my/page"
//查询个人优惠券
#define kGET_QUERY_COUPON_URL   @"/api/user/query/coupon"
//查询个人资料
#define kGET_QUERY_PROFILE_INFO_URL   @"/api/user/queryPersonalData"
//取消关注
#define kPOST_CANCEL_FOLLOW_URL   @"/api/user/unFollow/"
#pragma mark - 用户收货地址管理
//删除收货地址
#define kGET_DELETE_RECEIVE_ADDRESS_URL @"/api/user/address/delete/"
//根据收货id查询地址
#define kGET_QUERY_ADDRESS_BY_ADDRESSID_URL @"/api/user/address/get/"
//用户修改收货地址
#define kPOST_UPDATE_USER_ADDRESS_URL @"/api/user/address/modification"
//查询用户收货地址列表
#define kPOST_QUERY_USER_ADDRESS_LIST_URL @"/api/user/address/queryList"
//添加用户收货地址
#define kPOST_ADD_USER_ADDRESS_LIST_URL @"/api/user/address/save"
#pragma mark - 用户 收藏/取消收藏 管理
//多个加入收藏
#define kPOST_ADD_USER_COLLECTIONS_URL @"/api/collect/collect/"
//多个加入收藏
#define kPOST_ADDMULTIFY_USER_COLLECTIONS_URL @"/api/collect/addBatchCollect"
//查询资讯收藏列表
#define kPOST_QUERY_INFORMATION_LIST_URL @"/api/collect/queryInformationList"
//查询帖子收藏列表
#define kPOST_QUERY_TIEINFORMATION_LIST_URL @"/api/collect/queryInvitationList"
//查询商品收藏列表
#define kPOST_QUERY_GOODSCOLLECTION_LIST_URL @"/api/collect/querySkuList"
//设置用户默认收货地址
#define kGET_SET_USER_DEFAULT_ADDRESS_URL @"/api/user/address/default/"
#pragma mark - 帖子管理
//社区分类列表
#define kPOST_INVITATION_CATEGORY_LIST_MANAGER_URL @"/api/invitation/category/list"
//帖子首页列表
#define kPOST_INVITATION_HOME_LIST_MANAGER_URL @"/api/invitation/home/"
//关注的列表
#define kGET_INVITATION_FOLLOW_LIST_MANAGER_URL @"/api/invitation/follow"
//热话的列表
#define kPOST_INVITATION_HOTWORDS_LIST_MANAGER_URL @"/api/invitation/hot/words/"
//点赞
#define kPOST_TIE_ZAN_URL @"/api/invitation/like/"
//发布帖子评论
#define kPOST_TIE_LIST_COMMENT_URL @"/api/invitation/publish/comment"
//查询评论列表
#define kPOST_COMMENT_LIST_URL @"/api/invitation/query/comment/list/"
//查询帖子详情
#define kGET_TIE_INFO_URL @"/api/invitation/query/info/"
///屏蔽功能帖子 /api/invitation/shield/{invitationId}
#define kGET_INVITATION_SHIELD_URL(ID) [NSString stringWithFormat:@"/api/invitation/shield/%@",ID]

//查询评论回复列表
#define kPOST_COMMENT_REPLY_LIST_URL @"/api/invitation/query/reply/list/"
//帖子举报
#define kPOST_TIE_REPORT_URL @"/api/invitation/report/"
//搜索帖子关键字
#define kPOST_SEARCH_KEYWORDS @"/api/invitation/search/list/"
//发布帖子关联的商品列表
#define kGET_INVITATION_PRODUCT_GOODS_URL @"/api/invitation/select/product"
//发布搜索订单
#define kGET_INVITATION_SEARCH_ORDER_URL @"/api/invitation/search/order"
//发布帖子
#define kPOST_Publice_Invitation_URL @"/api/invitation/publish"
//文件（图片）上传
#define kPOST_FILE_UPLOAD_URL @"/api/file/file/upload"
//多张图片
#define kPOST_FILE_LIST_UPLOAD_URL @"/api/file/file/upload/list"

#pragma mark - 商品接口
//根据商品列表一级分类id查询二级商品
#define kGET_SKU_HOME_PAGE_URL(ID)  [NSString stringWithFormat:@"/api/sku/home/page/%@",ID]
//商品列表一级分类名称列表
#define kGET_SKU_ALL_CATALOGF_URL @"/api/sku/all/catalog1"

#pragma mark - 积分商城管理
//积分商品列表
#define kPOST_INTERGER_LIST_URL @"/api/integral/goods/list"
//兑换列表
#define kPOST_INTERGER_EXCHANGE_LIST_URL @"/api/integral/change/list"

//查询订单详情
#define kPOST_ORDER_INFO_URL  @"/api/integral/order/item/"
//查询订单列表
#define kPOST_ORDER_LIST_URL  @"/api/integral/order/list/"
//支付积分
#define kPOST_INTEGER_PAY_URL  @"/api/integral/pay/"
//取消订单 积分
#define kPOST_CANCEL_ORDER_URL  @"/api/integral/cancel/order/"
//商品取消订单
#define kPOST_GOODS_ORDER_cancel_URL @"/api/order/cancel/order"
//删除订单
#define kPOST_DELETE_ORDER_URL  @"/api/integral/remove/order/"
//提交订单
#define kPOST_COMMIT_ORDER_URL  @"/api/integral/submit/order"
//立即兑换
#define kPOST_INTEGER_EXCHANGE_URL(ID)  [NSString stringWithFormat:@"/api/integral/goods/info/%@",ID]

//确认收货
#define kPOST_INTEGER_RECEIVE_URL  @"/api/integral/confirm/goods/"

#pragma mark - 商品接口管理
//商品搜索页面获取一级分类
#define kPOST_GOODS_CATEGORY_ONE_URL  @"/api/sku/app/catalog1/list"
//商品搜索页面获取二级分类
#define kPOST_GOODS_CATEGORY_TWO_URL  @"/api/sku/app/catalog/list/"
//按照查询条件分页查询
#define kPOST_SEARCH_APPLIST_URL  @"/api/sku/app/list"
//商品详情
#define kGET_GOOD_INFO_URL  @"/api/sku/app/info/"
//搜索品牌属性
#define kGET_GOOD_ATTRVALUE_INFO_URL  @"/api/sku/app/attr/value/"
//根据销售属性匹配skuid
#define kGET_GOOD_ATTRVALUE_MATCH_SKU_URL  @"/api/sku/app/matching/sku"

#pragma mark - 资讯管理
//查询资讯详情
#define kGET_NEWS_INFO_URL  @"/api/information/Info"
//发表评论
#define kPOST_SUBMIT_COMMENT_URL  @"/api/information/add"
//最新热话发表评论
#define kPOST_INFORMATION_ARTICLE_ADD_COMMENT_URL @"/api/information/article/add/comment"
//查询资讯类别
#define kGET_INFORMATION_CATEGORY_URL  @"/api/information/category/list"
//查询资讯筛选条件
#define kGET_INFORMATION_CATEGORY_SORT_URL  @"/api/information/category/list/"
//资讯列表
#define kPOST_INFORMATION_FILTER_LIST_URL  @"/api/information/filter/list"
//资讯点赞
#define kPOST_INFORMATION_ADD_LIKE_URL  @"/api/information/like/"
//查询资讯评论列表
#define kPOST_INFORMATION_COMMENT_LIST_URL  @"/api/information/list"
//最新热话评论列表
#define kPOST_INFORMATION_ARTICLE_COMMENT_LIST_URL @"/api/information/article/comment/list"
//资讯排行版
#define kGET_INFORMATION_RANK_LIST_URL(ID)  [NSString stringWithFormat:@"/api/information/ranking/list/%@",ID]

//排行榜首页
#define kPOST_RANKING_HOME_URL @"/api/ranking/home"

//立即预订
#define kGET_INFORMATION_RESERVATION_URL @"/api/information/reservation/"
//搜索资讯
#define kPOST_INFORMATION_SEARCHNEWS_LIST_URL @"/api/information/search/list"
#pragma mark - 购物车管理
//加入购物车
#define kPOST_ADD_CART_URL @"/api/cart/add"
//修改购物车数量
#define kPOST_MODIFY_CART_NUM_URL @"/api/cart/modification"
//查询购物车
#define kPOST_QUERY_CART_URL @"/api/cart/queryList"
//删除购物车
#define kPOST_DELETE_CART_URL @"/api/cart/remove"

#pragma mark - 商品评论管理
//添加商品评论
#define kPOST_GOOD_COMMENT_ADD_URL @"/api/spu/comment/add"
//查询评论详情
#define kGET_QUERY_SPU_COMMENT_INFO_URL(ID,TYPE) [NSString stringWithFormat:@"/api/spu/comment/info/%@/%@",ID,TYPE]

//查询商品评论列表
#define kPOST_QUERY_GOOD_COMMENT_LIST_URL @"/api/spu/comment/list"
//批量删除收藏
#define kPOST_MUTIFY_DELETE_COLLECTIONS_URL @"/api/collect/removeBatchCollect"
#pragma mark - 课程管理
//查询课程详情
#define kGET_QUERY_CLASSES_INFO_URL(ID) [NSString stringWithFormat:@"/api/course/info/%@",ID]
//查询课程订单详情
#define kPOST_QUERY_CLASSES_ORDER_INFO_URL(ID) [NSString stringWithFormat:@"/api/course/order/info/%@",ID]
//提交课程订单
#define kPOST_SUBMIT_CLASSES_ORDER_URL @"/api/course/submit/order"
#pragma mark - 酒店管理
//查询酒店详情
#define kGET_QUERY_HOTEL_INFO_URL(ID) [NSString stringWithFormat:@"/api/hotel/info/%@",ID]
//查询酒店订单详情
#define kPOST_QUERY_HOTEL_ORDER_INFO_URL(ID) [NSString stringWithFormat:@"/api/hotel/order/info/%@",ID]
//提交酒店订单
#define kPOST_SUBMIT_HOTEL_ORDER_URL @"/api/hotel/submit"
#pragma mark - 景点管理
//查询景点详情
#define kGET_QUERY_SCENERY_INFO_URL(ID) [NSString stringWithFormat:@"/api/scenery/info/%@",ID]
//查询景点订单详情
#define kPOST_QUERY_SCENERY_ORDER_INFO_URL(ID) [NSString stringWithFormat:@"/api/scenery/order/info/%@",ID]
//提交景点订单
#define kPOST_SUBMIT_SCENERY_ORDER_URL @"/api/scenery/submit/order"
#pragma mark - 消息接口管理
//单个/批量修改消息状态已读
#define kGET_MODIFY_MESSAGE_READSTATUS_URL @"/api/message/batchModification"
//查询消息列表
#define kPOST_QUERY_MESSAGE_LIST_URL @"/api/message/queryList"
#pragma mark - 优惠券管理
//领取优惠券
#define kPOST_ACHIEVE_COUPON_URL @"/api/coupon/get/"
//酒店/景点/课程选择优惠券
#define kPOST_CHOOSE_COUPON_URL @"/api/coupon/hotel/choice"
//商品选择优惠券
#define kPOST_GOOD_CHOOSE_COUPON_URL @"/api/coupon/product/choice"
//优惠券类型的数量
#define kGET_COUPON_SELECT_NUMBER_URL @"/api/coupon/select/number"

#pragma mark - 订单模块管理
//订单删除
#define kPOST_BASE_ORDER_DELETE_URL @"/api/order/cancel"
//订单确认收货
#define kPOST_RECEIVE_GOODS_URL @"/api/order/confirm"
//查询订单列表
#define kPOST_QUERY_ORDER_LIST_URL @"/api/order/list"
//售后订单列表-独立于订单列表
#define kPOST_REFUND_LIST_URL @"/api/refund/list"
//选中购物车商品进行结算
#define kPOST_ORDER_SETTLEMENT_URL @"/api/order/sku/settlement"
//提交订单
#define kPOST_BASE_ORDER_SUBMIT_URL @"/api/order/submit"

#define kBANNERS_URL(ID) [NSString stringWithFormat:@"/api/slideshow/list/%@",ID]

#pragma mark - 我的-分享赚钱接口管理
//查询余额   post，无参
#define kPOST_SHARE_BALANCE_URL @"/api/award/balance"
//查询明细   post，有分页 参数，page和limit
#define kPOST_SHARE_DETAIL_URL @"/api/award/detail"
#define kGET_LOGICSTICS_GET_URL(ID) [NSString stringWithFormat:@"/api/logistics/get/%@",ID]
#pragma mark - 我的 - 提现
#define kPOST_WITHDRAW_SUBMIT_URL @"/api/withdraw/submit"
//提交认证
#define kPOST_AUTH_SUBMIT_URL @"/api/auth/submit"
//拼接字符串
#define NSStringFormat(format,...) [NSString stringWithFormat:format,##__VA_ARGS__]
#define kURL(url)   [NSURL URLWithString:url]
//资讯好物推荐
#define kGETINFORMATION_GOODS_RECOMMEN_URL @"/api/information/good/recommend"
//最新热话列表
#define kPOST_INFORMATION_ARTCLE_LIST_URL @"/api/information/article/list"
//支付宝预支付 alipay/alipayPayRequest
#define kALIPAY_ALIPAYPAYREQUEST_URL @"/api/alipay/alipayPayRequest"
//微信预支付
#define kALIPAY_WECHATPAYPAYREQUEST_URL @"/api/alipay/weChatPayRequest"
//支付回调
#define kPAYRETURN @"/api/alipay/app/return"
//我的评论-我收到的评论 /POST
#define kPOST_URSER_MY_RECEIVE_COMMENT_URL @"/api/user/my/receive/comment"
//我的评论-我发出的评论 POST
#define kPOST_USER_MY_SEND_COMMENT_URL @"/api/user/my/send/comment"
//我的发布
#define kPOST_USER_RELEASE_URL @"/api/user/my/release"
//订单详情
#define kPOST_GOODS_ORDER_INFO_URL @"/api/order/info"
//提交售后申请
#define kPOST_REFUND_SUBMIT_URL @"/api/refund/submit"

//GET 用户撤销申请
#define kGET_REFUND_CANCEL_URL(ID) [NSString stringWithFormat:@"/api/refund/cancel/%@",ID]
#define kPOST_REFUND_CANCEL_URL @"/api/refund/cancel"

//售后订单详情
#define kPOST_REFUND_INFO_URL(ID) [NSString stringWithFormat:@"/api/refund/info/%@",ID]
//提交售后 物流详情
#define kPOST_REFUND_SUBMIT_LOGISTICS_URL @"/api/refund/submit/logistics"
//酒店评论
#define kPOST_HOTEL_HOTEL_COMMETN_LIST_URL @"/api/hotel/hotel/comment/list"
//查询景点的评论列表
#define kPOST_SCENERY_SCENERY_COMMETN_LIST_URL @"/api/scenery/scenery/comment/list"
//查询课程的评论列表
#define kPOST_COURSE_COURES_COMMETN_LIST_URL @"/api/course/course/comment/list"
#define kPOST_RANKING_HANDPICK_PRODUCT(ID) [NSString stringWithFormat:@"/api/ranking/handpick/product/%@",ID]
//修改用户设置
#define kPOST_USER_MODIFICATION_SETTING_URL @"/api/user/modification/setting"
//查询用户设置 /api/user/query/setting
#define kPOST_USER_QUERY_SETTING_URL @"/api/user/query/setting"
//常见问题
#define kPOST_SLIDESHOW_FAQ_URL @"/api/slideshow/faq"
//删除帖子
#define kPOST_INVITATION_REMOVE_URL @"/api/invitation/remove"
#endif /* YQInterfaceDocument_h */


